<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">   
<title>Add User</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
<link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<br /><br /><br /><br /><br />

<div id="message_board">
	
	{% if errors %}
	
		{% for error in errors %}
		
			<div class="error_message">
				{{ error }}
			</div>
		
		{% endfor %}
	
	{% else %}
		{% if success_message %}
			<div class="success_message">
				{{ success_message }}
			</div>
		{% endif %}
	{% endif %}

</div>

<form action="adduseraction" method="post" class="form-horizontal">
	First Name:&nbsp;<input name="firstName" type="text" value="{{ user.first_name }}" class="span3" placeholder="Enter first name..."/><br />
	Last Name:&nbsp;<input name="lastName" type="text" value="{{ user.last_name }}" class="span3" placeholder="Enter the last nane..."/><br />
	Birth Date:&nbsp;<input name="birthDate" type="text" value="{{ user.birth_date }}" class="span3" placeholder="Enter date (dd/MM/YYYY)..."/>&nbsp;<br />
	Login:&nbsp;<input name="login" type="text" value="{{ user.login }}" class="span3" placeholder="Enter desired username..."/><br />
	Password:&nbsp;<input name="password" type="password" value="{{ user.password }}" /><br />
	<input type="submit" value="Create user" class="btn"/>
</form>

</body>
</html>